﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="Zebra.Umbraco.Marcos.Login" %>
<%@ Register Assembly="Zebra.Umbraco.Marcos" Namespace="Zebra.Umbraco.Marcos" TagPrefix="cc1" %>
<form runat="server">
<cc1:NoTableLogin ID="NoTableLogin1" runat="server" OnLoggedIn="Login1_LoggedIn"
    FailureText="用户名密码错误，请重试">
    <LayoutTemplate>
        <p class="no-border">
            <strong>登录</strong></p>
        <p>
            <label>
                用户名
            </label>
            <br />
            <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                Text="*">请输入用户名</asp:RequiredFieldValidator>
        </p>
        <p>
            <label>
                密码</label><br />
            <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                Text="*">请输入密码</asp:RequiredFieldValidator>
        </p>
        <p class="no-border">
            <asp:CheckBox ID="RememberMe" runat="server" Text="记住当前用户"></asp:CheckBox>
        </p>
        <p class="no-border">
            <asp:Button ID="Login" CommandName="Login" CssClass="button" runat="server" Text="Login">
            </asp:Button>
        </p>
        <p class="no-border">
            <asp:Label ID="FailureText" runat="server"></asp:Label>
        </p>
    </LayoutTemplate>
</cc1:NoTableLogin>
</form>
